#!/user/bin/env python3
# -*- coding: utf-8 -*-
"""
--------------------------------------
    Author:     JiChao_Song
    Date  :     2021/11/28 13:34
    Desc  :
--------------------------------------
"""


class PersonNotExist(Exception):
    """用户不存在"""
    pass


class MicroseerException(Exception):
    pass


class MicroseerEnvNotExist(MicroseerException):
    """环境不存在"""
    pass


class MicroseerCidNotExist(MicroseerException):
    """cid不存在"""
    pass


class MicroseerLoginFail(MicroseerException):
    """登陆失败"""
    pass


class MicroseerDemandIsNotStart(MicroseerException):
    """合同为启用"""
    pass


class DatabaseConfigException(Exception):
    pass


class DatabaseConfigConnectException(DatabaseConfigException):
    """数据库连接异常"""
    pass


class DatabaseConfigTypeException(DatabaseConfigException):
    """数据库连接类型不支持异常"""
    pass


class MsPioneerException(Exception):
    """系统统一异常"""
    pass